package com.tangcco.lockwell.service;

import com.tangcco.lockwell.viewmodel.admin.subject.SubjectVM;

import javax.security.auth.Subject;
import java.util.List;

public interface SubjectService extends BaseService<SubjectVM>{
    //查询所有主科目
    List<SubjectVM> selectAllMainSubject();
    //查询所有副科目
    List<SubjectVM> selectAllSubject(Integer ParentId);
    //学科条件分页查询
    List<SubjectVM> selectSubjectByPage(SubjectVM subjectVM);
    //学科详情查询
    SubjectVM selectSubjectById(Integer id);
    //查询所有学科
    List<SubjectVM> selectAll();

    public abstract List<SubjectVM> selectLelevl1();
}
